package com.jeesite.modules.digitalize.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zhaoshuaixiang
 * @date 2023/11/5 14:14
 */
@Data
public class BasePageQueryDto {
    /**
     * 页码
     */
    @NotNull(message = "页码不能为空")
    @ApiModelProperty(value = "页码,最小1,整数", example = "1", required = true)
    private Integer pageNo = 1;
    /**
     * 条数
     */
    @NotNull(message = "条数不能为空")
    @ApiModelProperty(value = "条数,最小1,整数", example = "10", required = true)
    private Integer pageSize = 10;
}
